<div class="bjui-pageContent">
    <div style="float:left; width:200px;">
        <fieldset style="height:100%;">
        	<div id="${left_divid}" style="height: 100%;width:100%; overflow: hidden;">
        		<ul class="nav nav-tabs" role="tablist">
                    <li class="active">
                    	<a href="#home" role="tab" data-toggle="tab">组织机构</a>
                    </li>
                    <li>
                    	<a href="#settings" role="tab" data-toggle="tab">系统角色</a>
                    </li>
                </ul>
	        </div>
	        <div class="tab-content">
	        	<div class="tab-pane fade active in" id="home">
		        	<ul id="layout-tree1"  class="ztree" data-toggle="ztree" data-expand-all="true" data-on-click="do_open_layout">
		                <#list orgList as org> 
		                    <#if org.orgTypeCode=='ROOT'>
		                    <li data-id="${org.orgId}" data-pid="${org.parentId}" data-url="${ctx}/system/user/list?orgId=" data-divid="#${right_divid}">${org.orgName}</li>
		                    <#else>
		                    <li data-id="${org.orgId}" data-pid="${org.parentId}" data-url="${ctx}/system/user/list?orgId=${org.orgId}" data-divid="#${right_divid}">${org.orgName}</li>
		                    </#if>
		                </#list>              
		            </ul>
	        	</div>
                <div class="tab-pane fade" id="settings">
                	<ul id="layout-tree2"  class="ztree" data-toggle="ztree" data-expand-all="true" data-on-click="do_open_layout">
		                <#list roleList as role> 
		                   	<li data-id="${role.roleId}" data-pid="0" data-url="${ctx}/system/user/list?roleId=${role.roleId}" data-divid="#${right_divid}">${role.roleName}</li>
		                </#list>              
		            </ul>
                </div>
	        </div>
        </fieldset>
    </div>
    <div style="margin-left:210px; height:100%; overflow:hidden;">
        <fieldset style="height:100%;">
            <div id="${right_divid}" style="height:100%; overflow:hidden;" data-toggle="autoajaxload" data-url="${ctx}/system/user/list"></div>
        </fieldset>
    </div>
</div>